Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bugprone-argument-comment option: IgnoreSingleArgument. #25

Closed
wants to merge 1 commit into from
Closed

Add bugprone-argument-comment option: IgnoreSingleArgument. #25

wants to merge 1 commit into from

Conversation

x-projs
Copy link

@x-projs x-projs commented Sep 1, 2019

When true, the check will ignore the single argument.

Sometimes, it's not necessary to add comment to single argument.
For example:
std::string name("Yubo Xie");
pScreen->SetWidth(1920);
pScreen->SetHeight(1080);

This option can ignore such single argument in bugprone-argument-comment
check.

When true, the check will ignore the single argument.

Sometimes, it's not necessary to add comment to single argument.
For example:
	std::string name("Yubo Xie");
	pScreen->SetWidth(1920);
	pScreen->SetHeight(1080);

This option can ignore such single argument in bugprone-argument-comment
check.
@repo-lockdown
Copy link

repo-lockdown bot commented Sep 1, 2019

This repository does not accept pull requests. Please follow http://llvm.org/docs/Contributing.html#how-to-submit-a-patch for contribution to LLVM.

@repo-lockdown repo-lockdown bot closed this Sep 1, 2019
@repo-lockdown repo-lockdown bot locked and limited conversation to collaborators Sep 1, 2019
@x-projs x-projs deleted the xyb/bugprone-argument-comment-single-argument branch September 1, 2019 23:56
kosmynin pushed a commit to RWTH-HPC/llvm-project that referenced this pull request Mar 2, 2020
Remove the use of Rewriter in code generation

Closes llvm#25

See merge request NEC-RWTH-Projects/clang!20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants